package com.flexpasta.italianstore.remote.result
{
	import com.flexpasta.italianstore.vo.PastaType;
	
	import mx.collections.ArrayCollection;
	
	/** 
	 * This interface lines up directly with your remote service class response types.  All methods here will match in name 
	 * with the ones PastaService.java, but the parameter will be the return type corresponding in PastaService.java.
	 * In cairngorm, your result method in your command class always contained an object/ResultEvent.  Penne removes this overhead
	 * and just returns to you the result that you are looking for.  Your parameter for your method MUST match the return type
	 * in your remote method.  
	 * @author Brian Telintelo 
	 */
	public interface IPastaRemoteRs
	{
		function getPastaTypes(pastaTypes:ArrayCollection):void;
		function updatePastaType(pastaType:PastaType):void;
	}
}